package upb.webserver.generate.code;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;

@Getter
@ToString
@AllArgsConstructor
@Slf4j
public enum ModuleEnum {
    CHECK_CODE(209000, "check code"),
    WORK_ORDER(209050, "work order"),
    ORG(209100, "organization"),
    HOST(209150, "host"),
    REST(209200, "restful"),
    SECURITY_AUTH(209250, "security auth"),
    TOKEN(209300, "token"),
    ACCOUNT(209350, "account"),
    CHAIN(209400, "chain"),
    APPLICATION(209450, "application"),
    CONTRACT(209650, "contract"),
//    HOST(209550, "host"),
//    FISCO_APPLICATION(209600, "fisco application"),
    CONFIG(209700, "config"),
    USER(209750, "user");

    private Integer minCode;
    private String value;

    public String getValue() {
        return this.value;
    }
}
